<% fields_for person do |f|%>
  <center>
	  <div id="work_groups" style="width: 95%;">
	    <p><label for="work_groups">Projects and Institutions</label><br/>
	      <select id="person_work_group_ids" multiple="multiple" name="person[work_group_ids][]" style="width: 85%;" size="10">
	      <%=  option_groups_from_collection_for_select work_group_groups_for_selection, 
	                                                                                         :options, :project_name, :id, :institution_name, person.work_groups.map {|wg| wg.id}
	      
	      %>
	      </select>
	    </p>
	  </div>
	</center>
<% end  %>
